<template>
	<view>
		<web-view :src="url"></web-view>
	</view>
</template>

<script setup>
import {ref,reactive,onBeforeMount,onMounted} from 'vue'
const props = defineProps({
	num: Number,
});
console.log("props",props.num)
onBeforeMount((p) => {
	console.log('p',props.num)
	if(props.num == 1){
		url.value = 'https://shop-h5.pupuduo.com/yhxy/index.html#/pages/ppz_yhxy/ppz_yhxy'
	}else{
		url.value = 'https://shop-h5.pupuduo.com/yhxy/index.html#/pages/ppz_ysxy/ppz_ysxy'
	}
})
let url = ref(null) 
</script>
	
<style>

</style>
